Bug 504706 – wrong deallocator used for GError in gailtextview.c
authorMatthias Clasen <mclasen@redhat.com>
Sat, 24 May 2008 18:42:15 +0000 (18:42 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 24 May 2008 18:42:15 +0000 (18:42 +0000)
2008-05-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 504706 – wrong deallocator used for GError in gailtextview.c

        * gailtextview.c: Don't use g_free on a GError.

svn path=/trunk/; revision=20136

modules/other/gail/ChangeLog
modules/other/gail/gailtextview.c

index 993b9f060838160d4b1c20db875e933e08bfbdb0..3f2fca11a0b1bd76a3be6f8db2d024d9dc3eaec9 100644 (file)
@@ -1,3 +1,9 @@
+2008-05-24  Matthias Clasen  <mclasen@redhat.com>
+
+       Bug 504706 – wrong deallocator used for GError in gailtextview.c
+
+       * gailtextview.c: Don't use g_free on a GError.
+
 2008-04-02  Li Yuan  <li.yuan@.sun.com>
 
        * gailbutton.c: (idle_do_action):
index 726aac16c0f881e6e4c0c6aebfd666338c3b4bb2..ea86ea7a73534ce52eb7476fcb29e84dd5bcca62 100644 (file)
@@ -1736,7 +1736,7 @@ static GIOChannel*       gail_streamable_content_get_stream       (AtkStreamable
            else g_message (err->message);
            if (err) {
                g_message ("<error writing to stream [%s]>", tname);
-               g_free (err);
+               g_error_free (err);
            }
            /* make sure the file is removed on unref of the giochannel */
            else {